fixxed possible crash in detection of nonInheritedRelationstest case update
moved querybuildertest to em project cause em and querybuilder aredirectly associated
extended test stuff