Answer:
Cork the test tube and then heat it gently near the bottom only.
Explanation:
If the contents of the test tube is flammable, then it can catch fire easily at any time. In that case, we can not heat the mixture in an open test tube, that will make the flammable substance to catch fire easily.
In heating such a flammable material, the test tube should be securely corked and heat is delivered gently to the bottom of the tube. This will prevent the substance from bursting into flames spontaneously.