ISPN-2843 - Add new tests for Query Module

* New tests are added covering queries with ranges, phrases, keywords and wildcards.
* Spatial queries are added.
Added test relating to querying on multiple tables.