Fixed unit test MongoDB connection.