Changes Query testing to support Query object with multi queries
Adds test code for multi queries
Adds custom matcher to jasmine code for throwing errors
adds some tests for query collection