do not catch DBException here. you are not testing dbInsert() in this test. An error from models/db.php should be an unanticipated error. That's why we have this here:
https://github.com/VitSalis/endofcodes/blob/master/tests/base.php#L29