fixxed possible crash in detection of nonInheritedRelationstest case update
extended test stuff
structure
testing