Added tests for the MediumOctree. It seems that the hierarchy is not being created correctly.