changed kmeans test, added performance