bugfix: failed DB connection when testing.