fixes test and dev db, as well as database names