@Test
    void testSystemtest() {
        String queryString = "?query=test";

        QueryProfileXMLReader reader = new QueryProfileXMLReader();
        CompiledQueryProfileRegistry registry = reader.read("src/test/java/com/yahoo/search/query/profile/config/test/systemtest/").compile();
        HttpRequest request = HttpRequest.createTestRequest(queryString, Method.GET);
        CompiledQueryProfile profile = registry.findQueryProfile("default");
        Query query = new Query(request, profile);
        Properties p = query.properties();

        assertEquals("test", query.getModel().getQueryString());
        assertEquals("test", p.get("query"));
        assertEquals("test", p.get("QueRY"));
        assertEquals("test", p.get("model.queryString"));
        assertEquals("bar", p.get("foo"));
        assertEquals(5, p.get("hits"));
        assertEquals("tit", p.get("subst"));
        assertEquals("le", p.get("subst.end"));
        assertEquals("title", p.get("model.defaultIndex"));

        Map<String, Object> ps = p.listProperties();
        assertEquals("bar", ps.get("foo"));
        assertEquals(5, ps.get("hits"));
        assertEquals("tit", ps.get("subst"));
        assertEquals("le", ps.get("subst.end"));
        assertEquals("title", ps.get("model.defaultIndex"));
        assertEquals("test", ps.get("model.queryString"));
    }
Tests a subset of the configuration in the system test of this
container-search/src/test/java/com/yahoo/search/query/profile/config/test/XmlReadingTestCase.java