@Test
    void testThatSessionIdIsNotSharedIfCreatedAfterClone() {
        Query q = new Query();
        Query q2 = q.clone();
        assertNull(q.getSessionId());
        assertNull(q2.getSessionId());

        assertNotNull(q.getSessionId("node-0"));
        assertNull(q2.getSessionId());

        assertNotNull(q2.getSessionId("node-0"));
        assertNotEquals(q.getSessionId(), q2.getSessionId());
    }
Test that we get the last value if a parameter is assigned multiple times
container-search/src/test/java/com/yahoo/search/test/QueryTestCase.java