removed extraneous print statements from tree_test