add treenode tests