finished BelongToSameTreeTest.java