Message grouper function.
Added another grouper test test.