Remove logging from test_output_folder
Convert test_generate_file along with cheese teardown
Convert template_syntax_error test and fix exception handling
Use a fixture for the environment
Use a fixture for the expected error message