Fix Quadtree::isEmpty() and add unit tests for remove() and removeAll().