Add a few checks to the query parser test
Reintroduce in-memory-only mode
Start getting query test working
Use code generation for some simple type- and filter-dependent functions