Test case for QueryImpl.equals
Merge pull request #1884 from dennishendriksen/master

Test case for QueryImpl.equals