New tests are added for Query module.
New tests are added for query module.