Add tests for listDirectory, exportZip and writeFile (when editing existing file)
Add test for write empty file