Added another test for the reduce in groupBy with loop.

This test takes a different type in the mapper than it does in the reduce phase.