KNN fix - Added testing for whole dataset