Add tests for tree/treeNode