Tests for check_contact_fields.