MDL-68353 test: get_field_locator to support custom field labels