added test for analyze method