Added test for query contructor(), tests are passing.