Fix database config path for tests