Fixes #3065
Merge pull request #3067 from noctarius/fixed_map_reduce_tests

Fixing map-reduce unittests, sometimes cluster is not yet fully up when tests start