Index: trunk/test/unit/org/openstreetmap/josm/data/validation/tests/LanesTest.groovy
===================================================================
--- trunk/test/unit/org/openstreetmap/josm/data/validation/tests/LanesTest.groovy	(revision 7486)
+++ trunk/test/unit/org/openstreetmap/josm/data/validation/tests/LanesTest.groovy	(revision 7497)
@@ -1,4 +1,5 @@
 package org.openstreetmap.josm.data.validation.tests
 
+import org.openstreetmap.josm.JOSMFixture
 import org.openstreetmap.josm.data.osm.OsmUtils
 
@@ -9,4 +10,5 @@
     @Override
     void setUp() {
+        JOSMFixture.createUnitTestFixture().init()
         lanes.initialize()
         lanes.startTest(null)
@@ -60,3 +62,8 @@
         assert lanes.errors.isEmpty()
     }
+
+    void test9() {
+        lanes.check(OsmUtils.createPrimitive("way highway=secondary lanes=2 source:lanes=survey"))
+        assert lanes.errors.isEmpty()
+    }
 }
