Distinct: add a test for distinct without order_by