@Test
public void parsesQueryString_EVERREST_58() {

    String str = "q1=bar&&q2=foo&q2=test";
    MultivaluedMapImpl expected = new MultivaluedMapImpl();
    expected.add("q1", "bar");
    expected.addAll("q2", "foo", "test");
    MultivaluedMap<String, String> result = parseQueryString(str, false);
    assertEquals(expected, result);
    result = parseQueryString(str, true);
    assertEquals(expected, result);
}