add more test on driver::nearest_neighbor