Pretty up imports in test_write_recipe.py