Add test for simple mapreduce.