Add test for file export