tests for Reverse
tests for GroupBy
tests for Distinct