Added GroupBy tests