add check for raw_attributes to allow tests to work