Fix database.yml testing