Index: applications/editors/josm/plugins/mapillary/test/unit/org/openstreetmap/josm/plugins/mapillary/AbstractTest.java
===================================================================
--- applications/editors/josm/plugins/mapillary/test/unit/org/openstreetmap/josm/plugins/mapillary/AbstractTest.java	(revision 31424)
+++ applications/editors/josm/plugins/mapillary/test/unit/org/openstreetmap/josm/plugins/mapillary/AbstractTest.java	(revision 31425)
@@ -19,8 +19,5 @@
   @BeforeClass
   public static void setUpBeforeClass() {
-    if (!started) {
-      TestUtil.initPlugin();
-      started = true;
-    }
+    TestUtil.initPlugin();
   }
 }
Index: applications/editors/josm/plugins/mapillary/test/unit/org/openstreetmap/josm/plugins/mapillary/ImportTest.java
===================================================================
--- applications/editors/josm/plugins/mapillary/test/unit/org/openstreetmap/josm/plugins/mapillary/ImportTest.java	(revision 31424)
+++ applications/editors/josm/plugins/mapillary/test/unit/org/openstreetmap/josm/plugins/mapillary/ImportTest.java	(revision 31425)
@@ -2,4 +2,5 @@
 
 import static org.junit.Assert.*;
+
 import org.junit.Test;
 
@@ -27,6 +28,6 @@
   @Test
   public void importNoTagsTest() {
-    File image = new File(MapillaryPlugin.directory + "images/icon16.png");
-    MapillaryImportedImage img = MapillaryPlugin.importAction.readNoTags(image,
+    File image = new File("images/icon16.png");
+    MapillaryImportedImage img = new MapillaryImportAction().readNoTags(image,
         new LatLon(0, 0));
     assertEquals(0, img.getCa(), 0.01);
Index: applications/editors/josm/plugins/mapillary/test/unit/org/openstreetmap/josm/plugins/mapillary/util/TestUtil.java
===================================================================
--- applications/editors/josm/plugins/mapillary/test/unit/org/openstreetmap/josm/plugins/mapillary/util/TestUtil.java	(revision 31424)
+++ applications/editors/josm/plugins/mapillary/test/unit/org/openstreetmap/josm/plugins/mapillary/util/TestUtil.java	(revision 31425)
@@ -41,10 +41,4 @@
       I18n.set(Main.pref.get("language", "en"));
       Main.setProjection(Projections.getProjectionByCode("EPSG:3857")); // Mercator
-      try {
-        new MapillaryPlugin(new PluginInformation(new File(
-            "./build/libs/josm-mapillary-plugin.jar")));
-      } catch (PluginException e) {
-        e.printStackTrace();
-      }
       isInitialized = true;
     }
