Add regression test for grouping by 3 columns.

Related to issue #215.
Merge pull request #216 from slick/tmp/group3-bug-2.0

Add regression test for grouping by 3 columns.