Index: applications/editors/josm/plugins/poly/test/unit/poly/PolyExporterTest.java
===================================================================
--- applications/editors/josm/plugins/poly/test/unit/poly/PolyExporterTest.java	(revision 34860)
+++ applications/editors/josm/plugins/poly/test/unit/poly/PolyExporterTest.java	(revision 34966)
@@ -32,4 +32,27 @@
      */
     @Test
+    public void testSimpleExport() throws Exception {
+        DataSet dsIn1 = new PolyImporter().parseDataSet(TestUtils.getTestDataRoot() + "/simple.poly");
+        assertNotNull(dsIn1);
+        assertEquals(4, dsIn1.getNodes().size());
+        assertEquals(1, dsIn1.getWays().size());
+        assertEquals(0, dsIn1.getRelations().size());
+
+        Path out = Files.createTempFile("simple-out", "poly");
+        new PolyExporter().exportData(out.toFile(), new OsmDataLayer(dsIn1, null, null));
+        DataSet dsIn2 = new PolyImporter().parseDataSet(out.toString());
+        assertNotNull(dsIn2);
+        assertEquals(4, dsIn2.getNodes().size());
+        assertEquals(1, dsIn2.getWays().size());
+        assertEquals(0, dsIn2.getRelations().size());
+        
+        Files.delete(out);
+    }
+
+    /**
+     * Import file, export it, import the exported file and compare content
+     * @throws Exception if an error occurs
+     */
+    @Test
     public void testExport() throws Exception {
         DataSet dsIn1 = new PolyImporter().parseDataSet(TestUtils.getTestDataRoot() + "/holes.poly");
