Commited tests (SELECT DISTINCT) for Query.php