kmeans and kmeans_test works