mapreduce test bugfix