Unit tests for MongoDbInput.