@Test
    public void testIt() throws ParseException, IOException {
        // Prepare
        RankingExpression expression = new RankingExpression(IOUtils.readFile(new File("src/test/files/s-expression.vre")));
        ArrayContext contextPrototype = new ArrayContext(expression);
        new ExpressionOptimizer().optimize(expression, contextPrototype);

        assertExecution(expression, contextPrototype);
        assertExecution(expression, contextPrototype); // reuse
    }
This tests reuse of a optimized context which is not initialized with
all values referenced in the expression.

@author bratseth
searchlib/src/test/java/com/yahoo/searchlib/rankingexpression/evaluation/gbdtoptimization/ContextReuseTestCase.java