Add tests for creating zip files using both write methods