fixed kmeans_unittest errors