Test for ammonia involves making damp red litmus paper turn blue and forming a white smoke of ammonium chloride when hydrogen chloride gas, from concentrated hydrochloric acid, is held near it.
To carry out a flame test, take a sample of the metal on a wire and put it in a flame, the flame will turn a specific colour, showing what metal it is.
Tests for Cl-, Br-, and I- anions can be done using acidified silver nitrate solution, SO42- using acidified barium chloride solution, and CO32- using hydrochloric acid.