Added unit test that compares KDTree and brute knn results.