Adding a TreeEqualityTestCase base class.