Fixing tests for clusters with k=8 and new test for analyze