added support for test cases to specify a matchStatement instead of results

now you can define your test in terms of 2 queries that must match
instead of a static set of results