Fixed the map_reduce tests
Removed any direct call to OqTaskManager