Modified Mongo tests to skip if not enabled.

Resolves issue #937