Replaced write_recipe with write_file in test_write_recipe_file.py