@Test
    void testNewsFE1() {
        CompiledQueryProfileRegistry registry = new QueryProfileXMLReader().read("src/test/java/com/yahoo/search/query/profile/config/test/newsfe").compile();

        String queryString = "tiled?vertical=news&query=barack&intl=us&resulttypes=article&testid=&clientintl=us&SpellState=&rss=0&tracelevel=5";

        Query query = new Query(HttpRequest.createTestRequest(queryString, Method.GET), registry.getComponent("default"));
        assertEquals("13", query.properties().listProperties().get("source.news.discovery.sources.count"));
        assertEquals("13", query.properties().get("source.news.discovery.sources.count"));
        assertEquals("sources", query.properties().listProperties().get("source.news.discovery"));
        assertEquals("sources", query.properties().get("source.news.discovery"));
    }
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