a test for the the quadtree matching