Commited tests in for Query.php