Adding test for analyze commands