private void assertFails(String message, QueryType type) {
        try {
            assertParsed("ignored", "ignored", type);
            fail("Expected exception");
        }
        catch (Exception e) {
            assertEquals(message, Exceptions.toMessageString(e));
        }

    }
Tests that the value presentation.format.tensors can be set in a query profile.
This is special because 'presentation.format' is a native query profile.
container-search/src/test/java/com/yahoo/search/test/QueryTestCase.java