The test has to be carried out in neutral or alkaline solutions. In the absence of ammonia or ammonium ions, magnesium will also be precipitated. The white precipitates formed with the group reagent are: (a) Barium carbonate - BaCO3, (b) Strontium carbonate - SrCO3, and (c) Calcium carbonate - CaCO3