Access list to_xml test for domain_members.
Fix rubocop offence.