quadtree: Add test cases.