Add a medium-sized test of groupby