Add (failing) test for analyze to test number of iterations performed.
Add kiva_small file.
Merge branch 'master' into dev