Relaxed some unit test assertions that were failing because different versions of the server were returning different error codes and messages.
- fixed issue with _primary being null in sharded systems.
- fix issue with mapreduce command name for sharded systems.
fixing tests against sharded systems.