Lassaigne’s test is used for the detection of nitrogen and given by all nitrogenous compound except diazo (−N=N−) compounds.
This test is shown only by the compounds containing C and N both hence hydroxyl amine hydrochloride (H2NOH.HCl) will not perform this test.