Add test for generate.generate_file().