Quadtree Clearing function works in test directory