Solving querytests issue.