added groupby test