Add query generation.
Add simple count query test.
Add single dimension query test.