methode testGetInheritancesAsSubtype() optimized but does not jet
produce the wanted result