New expressions added to the SBE engine should come along with a unit test. To make unit testing of such expressions easier, we need to implement a base test fixture which would perform some basic set up and provide a helper method(s) to evaluate an expression and validate the results.
The helper method should compile the given expression into a bytecode, set up the VM and the compilation context, execute the bytecode and return the result to the caller.