test for parent_attributes + 100% test coverage