Protect against unspecified database config in PyrseasTestCase.