GroupReduce testcases for the new java api

See #548.
I had to do a small fix since for some reason the TupleUnwrappingIterator was not instantiated.

The descending sorting of tuples inside of the groups is not working yet. I think this is connected to #588.