test case for #777 (custom testGrouping+no tests)
Don't try to reduce empty tests.  Fixes #777.