add map/reduce test