Add simple test for file generation.