Remove dependency on local mongodb instance

This makes the integration tests run successfully on Jenkins.