debuged groupby test