New tests are added for Query module.