Update Quadtree.js: Unit tests

Fixes for quadtree.js unit tests.