Added tests to cover failures in DBI's commit().