Adding OctreeTest and fixing some of the template compilation problems.