TST: add test case for user-defined function taking correct path in groupby transform
I kept this one in place because I thought fast_path could be user-defined (see comment on L1425), but it turns out we define it in _define_paths a few lines above.  So this try/except is unnecessary.