Adding nitric acid before silver nitrate in tests for chloride and iodide helps eliminate carbonate and hydroxide ions that could also form precipitates
In a scenario test, observing a green precipitate with sodium hydroxide and a gas turning red litmus paper blue indicates the presence of iron II and nitrate ions