changed kmeans test