Add tests for file formats