fix custom_field tests