Got the database working with an integration test.