Index: trunk/test/unit/org/openstreetmap/josm/data/osm/DataSetMergerTest.java
===================================================================
--- trunk/test/unit/org/openstreetmap/josm/data/osm/DataSetMergerTest.java	(revision 3282)
+++ trunk/test/unit/org/openstreetmap/josm/data/osm/DataSetMergerTest.java	(revision 3283)
@@ -16,5 +16,7 @@
 import org.junit.Before;
 import org.junit.Test;
+import org.openstreetmap.josm.Main;
 import org.openstreetmap.josm.data.coor.LatLon;
+import org.openstreetmap.josm.data.projection.Mercator;
 
 public class DataSetMergerTest {
@@ -67,4 +69,5 @@
         their = new DataSet();
         their.setVersion("0.6");
+        Main.proj = new Mercator();
     }
 
@@ -292,5 +295,5 @@
     /**
      * My and their node are new but semantically equal. My node is deleted.
-     * 
+     *
      * => Ignore my node, no conflict
      */
@@ -923,5 +926,5 @@
     /**
      * Merge an incomplete way with two incomplete nodes into an empty dataset.
-     * 
+     *
      * Use case: a way loaded with a multiget, i.e. GET /api/0.6/ways?ids=123456
      */
@@ -966,5 +969,5 @@
     /**
      * Merge an incomplete way with two incomplete nodes into a dataset where the way already exists as complete way.
-     * 
+     *
      * Use case: a way loaded with a multiget, i.e. GET /api/0.6/ways?ids=123456 after a "Update selection " of this way
      */
Index: trunk/test/unit/org/openstreetmap/josm/data/osm/OsmPrimitiveTest.java
===================================================================
--- trunk/test/unit/org/openstreetmap/josm/data/osm/OsmPrimitiveTest.java	(revision 3282)
+++ trunk/test/unit/org/openstreetmap/josm/data/osm/OsmPrimitiveTest.java	(revision 3283)
@@ -6,6 +6,9 @@
 
 import org.junit.Assert;
+import org.junit.BeforeClass;
 import org.junit.Test;
+import org.openstreetmap.josm.Main;
 import org.openstreetmap.josm.data.coor.LatLon;
+import org.openstreetmap.josm.data.projection.Mercator;
 
 public class OsmPrimitiveTest {
@@ -17,4 +20,9 @@
 
     private DataSet dataSet = new DataSet();
+
+    @BeforeClass
+    public static void setUp() {
+        Main.proj = new Mercator();
+    }
 
     @Test
Index: trunk/test/unit/org/openstreetmap/josm/data/osm/RelationTest.java
===================================================================
--- trunk/test/unit/org/openstreetmap/josm/data/osm/RelationTest.java	(revision 3282)
+++ trunk/test/unit/org/openstreetmap/josm/data/osm/RelationTest.java	(revision 3283)
@@ -5,8 +5,16 @@
 
 import org.junit.Assert;
+import org.junit.BeforeClass;
 import org.junit.Test;
+import org.openstreetmap.josm.Main;
 import org.openstreetmap.josm.data.coor.LatLon;
+import org.openstreetmap.josm.data.projection.Mercator;
 
 public class RelationTest {
+
+    @BeforeClass
+    public static void setUp() {
+        Main.proj = new Mercator();
+    }
 
     @Test(expected=NullPointerException.class)
