Make database optional for the test_integration.