Added knn tests