fixes #43 mapreduce autotest added
minor changes