ISPN-2843 Add new tests for Query Module

* New tests are added covering queries with ranges, phrases, keywords and wildcards.
* Spatial queries are added.
ISPN-2843 Add new tests for Query Module: style fixes