Test for handling of DBI failures during insert().
Fixed propagation of DBI failures.
Test for handling of DBI failures during update().