Implemented test for Array.mapReduce.