JUnit 4 tests for MongoDoc and MongoDocFactory.