added test cases to examine tree objects