Implement the remaining asserts in TreeEqualityTestCase.