fix_models_for_tests