added another test for remove_field_if