some tests
kdtree test