CRM-14449 add automated test for ensuring custom fields are handled adequately