Added another query test with variables and paging