@Test
  public void testUrlParamParsing() {
    String[][] teststr =
        new String[][] {
          {"this is simple", "this%20is%20simple"},
          {"this is simple", "this+is+simple"},
          {"\u00FC", "%C3%BC"}, // lower-case "u" with diaeresis/umlaut
          {"\u0026", "%26"}, // &
          {"\u20AC", "%E2%82%AC"} // euro
        };

    for (String[] tst : teststr) {
      MultiMapSolrParams params = SolrRequestParsers.parseQueryString("val=" + tst[1]);
      assertEquals(tst[0], params.get("val"));
    }
  }