Add test for mapReduce.