refactoring
refactoring
Tree and TreeNode tests