clang tests
first bug found!
factor emit code helper from example_queries