RUBY-584 fixing unit tests that require a mongodb connection

These unit tests were forcing a connection and requiring a MongoDB server be present in order for them to run successfully. This shouldn't be the case for unit tests in general and was proving to be a problem for package maintainers attempting to run our test suite.