Added MongoDB integration tests.