Adds integration tests for mongo and memory