Index: trunk/test/unit/org/openstreetmap/josm/actions/SimplifyWayActionTest.java
===================================================================
--- trunk/test/unit/org/openstreetmap/josm/actions/SimplifyWayActionTest.java	(revision 11118)
+++ trunk/test/unit/org/openstreetmap/josm/actions/SimplifyWayActionTest.java	(revision 11121)
Index: trunk/test/unit/org/openstreetmap/josm/data/osm/ChangesetCacheTest.java
===================================================================
--- trunk/test/unit/org/openstreetmap/josm/data/osm/ChangesetCacheTest.java	(revision 11118)
+++ trunk/test/unit/org/openstreetmap/josm/data/osm/ChangesetCacheTest.java	(revision 11121)
@@ -7,5 +7,4 @@
 import static org.junit.Assert.assertTrue;
 
-import java.util.ArrayList;
 import java.util.Collections;
 import java.util.List;
Index: trunk/test/unit/org/openstreetmap/josm/data/osm/ChangesetDataSetTest.java
===================================================================
--- trunk/test/unit/org/openstreetmap/josm/data/osm/ChangesetDataSetTest.java	(revision 11118)
+++ trunk/test/unit/org/openstreetmap/josm/data/osm/ChangesetDataSetTest.java	(revision 11121)
@@ -2,16 +2,18 @@
 package org.openstreetmap.josm.data.osm;
 
+import java.util.Date;
+import java.util.Set;
+
+import org.junit.Assert;
 import org.junit.Rule;
 import org.junit.Test;
-import org.junit.Assert;
+import org.openstreetmap.josm.Main;
+import org.openstreetmap.josm.data.coor.LatLon;
+import org.openstreetmap.josm.data.osm.ChangesetDataSet.ChangesetModificationType;
+import org.openstreetmap.josm.data.osm.history.HistoryNode;
+import org.openstreetmap.josm.data.osm.history.HistoryOsmPrimitive;
 import org.openstreetmap.josm.testutils.JOSMTestRules;
-import org.openstreetmap.josm.data.osm.ChangesetDataSet.ChangesetModificationType;
 
 import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
-import java.util.Date;
-import java.util.Set;
-import org.openstreetmap.josm.data.coor.LatLon;
-import org.openstreetmap.josm.data.osm.history.HistoryNode;
-import org.openstreetmap.josm.data.osm.history.HistoryOsmPrimitive;
 
 /**
@@ -38,7 +40,8 @@
             Assert.fail("Should have thrown an IllegalArgumentException as we gave a null argument.");
         } catch (IllegalArgumentException e) {
+            Main.trace(e);
             // Was expected
         }
-        
+
         // empty object, a modification type => empty list
         Assert.assertTrue(
@@ -47,5 +50,5 @@
                     ChangesetModificationType.CREATED).isEmpty()
         );
-        
+
         // object with various items and modification types, fetch for CREATED
         // => list containing only the CREATED item
@@ -60,5 +63,4 @@
         Assert.assertEquals("We should have found only one item.", 1, result.size());
         Assert.assertTrue("The item found is prim1.", result.contains(prim1));
-        
     }
 }
Index: trunk/test/unit/org/openstreetmap/josm/data/osm/ChangesetTest.java
===================================================================
--- trunk/test/unit/org/openstreetmap/josm/data/osm/ChangesetTest.java	(revision 11118)
+++ trunk/test/unit/org/openstreetmap/josm/data/osm/ChangesetTest.java	(revision 11121)
@@ -2,13 +2,16 @@
 package org.openstreetmap.josm.data.osm;
 
+import static org.openstreetmap.josm.data.osm.Changeset.MAX_CHANGESET_TAG_LENGTH;
+
+import java.util.HashMap;
+import java.util.Map;
+
+import org.junit.Assert;
 import org.junit.Rule;
 import org.junit.Test;
+import org.openstreetmap.josm.Main;
 import org.openstreetmap.josm.testutils.JOSMTestRules;
 
 import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
-import java.util.HashMap;
-import java.util.Map;
-import org.junit.Assert;
-import static org.openstreetmap.josm.data.osm.Changeset.MAX_CHANGESET_TAG_LENGTH;
 
 /**
@@ -35,11 +38,12 @@
             Assert.fail("Should have thrown an IllegalArgumentException as we gave a null argument.");
         } catch (IllegalArgumentException e) {
+            Main.trace(e);
             // Was expected
         }
-        
+
         // Add a map with no values
         // => the key list is empty
         Map<String, String> keys = new HashMap<>();
-        
+
         // Add a map with valid values : null and short texts
         // => all the items are in the keys
@@ -48,9 +52,9 @@
         cs.setKeys(keys);
         Assert.assertEquals("Both valid keys should have been put in the ChangeSet.", 2, cs.getKeys().size());
-        
+
         // Add a map with too long values => IllegalArgumentException
         keys = new HashMap<>();
         StringBuilder b = new StringBuilder(MAX_CHANGESET_TAG_LENGTH + 1);
-        for (int i = 0; i < MAX_CHANGESET_TAG_LENGTH + 1; i++){
+        for (int i = 0; i < MAX_CHANGESET_TAG_LENGTH + 1; i++) {
            b.append("x");
         }
@@ -60,7 +64,7 @@
             Assert.fail("Should have thrown an IllegalArgumentException as we gave a too long value.");
         } catch (IllegalArgumentException e) {
+            Main.trace(e);
             // Was expected
         }
-                
     }
 }
