TST: Add motivating test case to test_groupby.py