Make test for nearest_neighbor client