@Test
    void testCopy() {
        Query qs = newQuery("?query=test&rankfeature.something=2");
        assertEquals("WEAKAND(100) test", qs.getModel().getQueryTree().toString());
        assertEquals((int) qs.properties().getInteger("rankfeature.something"), 2);
        Query qp = new Query(qs);
        assertEquals("WEAKAND(100) test", qp.getModel().getQueryTree().getRoot().toString());
        assertFalse(qp.getRanking().getFeatures().isEmpty());
        assertEquals(2.0, qp.getRanking().getFeatures().getDouble("something").getAsDouble(), 0.000001);
    }
Test a vertical specific patch, see Tokenizer
container-search/src/test/java/com/yahoo/prelude/test/QueryTestCase.java