Complete KD-Tree test