added test for 2-dimensional kd-tree