Index: trunk/test/unit/org/openstreetmap/josm/data/imagery/WMTSTileSourceTest.java
===================================================================
--- trunk/test/unit/org/openstreetmap/josm/data/imagery/WMTSTileSourceTest.java	(revision 9023)
+++ trunk/test/unit/org/openstreetmap/josm/data/imagery/WMTSTileSourceTest.java	(revision 9081)
@@ -30,4 +30,5 @@
     private ImageryInfo testImageryWALLONIE = getImagery("test/data/wmts/WMTSCapabilities-Wallonie.xml");
     private ImageryInfo testImageryOntario = getImagery("test/data/wmts/WMTSCapabilities-Ontario.xml");
+    private ImageryInfo testLotsOfLayers = getImagery("test/data/wmts/getCapabilities-lots-of-layers.xml");
 
     /**
@@ -101,5 +102,6 @@
     }
 
-    //TODO: @Test - disable this test, needs further working
+    // XXX - disable this test, needs further working
+    // @Test
     public void testWALLONIENoMatrixDimension() throws MalformedURLException, IOException {
         Main.setProjection(Projections.getProjectionByCode("EPSG:31370"));
@@ -208,6 +210,6 @@
     }
 
-    // disabled as this needs user action
-    // @Test
+    // XXX: disabled as this needs user action
+    //@Test
     public void testTwoTileSetsForOneProjection() throws Exception {
         Main.setProjection(Projections.getProjectionByCode("EPSG:3857"));
@@ -216,4 +218,13 @@
         verifyTile(new LatLon(45.4105023, -75.7153702), testSource, 303751, 375502, 12);
         verifyTile(new LatLon(45.4601306, -75.7617187), testSource, 1186, 1466, 4);
+
+    }
+
+    // XXX: disabled as this needs user action
+    // @Test
+    public void testManyLayersScrollbars() throws Exception {
+        Main.setProjection(Projections.getProjectionByCode("EPSG:3857"));
+        WMTSTileSource testSource = new WMTSTileSource(testLotsOfLayers);
+        testSource.initProjection(Main.getProjection());
 
     }
