Working on reduce side of the aggregation. Tests are still not finished and expected to fail.