RUBY-695 When secondary not ok for cmds, reroute to primary and warn
RUBY-695 out is required for map reduce
Use regex in tests to match strings