Fixed the MongoDB tests to catch ConnectionFailure so it properly skips
the tests on PyMongo 2.4 and beyond.