DefaultMethodsTest: additional test for class hierarchies