fix test007_addInstance_selfInheriting