TreeNode test case; Utils for testing; basic interface and error elimination