Added tests for instance_from_model_field