Added a couple of tests for the preparatory steps to the Barnes-Hut algorithm