Improved tests around commit grouper