Fix database config for testing.