RUBY-584 fixing unit tests that require a mongodb connection