Add (failing) test for analyze to test number of iterations performed.