completed the 2nd test for query.
Merge pull request #57 from yyekovenko/master

completed the 2nd test for query.