This test is not as commonly carried out these days as it was several decades ago owing to the potential hazards involved in using concentrated sulfuric acid. However it is a low risk experiment if proper precautions are taken and the instructions are adhered to.
Wear lab gloves and eye protection, of course.
Dissolve the metal nitrate in water, add a few crystals of FeSO4, and shake or stir to dissolve.
Then, whilst holding the test tube at an angle of about 45o, carefully pour a LITTLE concentrated sulfuric acid down the inside of the test-tube so that it forms a lower layer of no more than 5 mm. A brown ring will be formed between the layers.
You should Google this test to find out why it works and to find out also why the ring is transient and disappears when the mixture is shaken.