Added Query support (closes #377)
Add powermock-mockito to dependencies and add tests for Query support