@Test
 public void testKVP() {
   String url =
       buildURL(BASEURL, "test", Collections.singletonMap("param", "value()"), URLType.SERVICE);
   assertEquals("http://localhost:8080/geoserver/test?param=value%28%29&here=iam", url);
 }
 @Test
 public void testBasic() {
   String url = buildURL(BASEURL, "test", null, URLType.SERVICE);
   assertEquals("http://localhost:8080/geoserver/test?here=iam", url);
 }