Here is another way based on a method by ramones
It uses the tiled background - which would allow you to use different shapes with no masking so your liquid / test-tube can be seen through. A clever idea that I wish I had thought of.
Ramones example can be found here
My example here