fix and test introspection for attribute overrides