Test for association with custom field