fixed knn test