test on kdtree