working on test of mapreducer.js