ISPN-4471 MapReduceTask: memory leak with useIntermediateSharedCache 

Master only. See https://issues.jboss.org/browse/ISPN-4471 for more details
you have the ```assertEquals(expectedValue, currentValue)``` (or the other way around)