Allow unsetting the db (ORM::set_db(null)) to make the test work agen