fix testing database config