Update quadtree.js unit tests

Fixes for quadtree.js unit tests.