Make database optional for the test_integration.

We are using this in integration tests and would prefer it used the in-memory store rather than a file store.