Added new test to verify that error records were created not because of the deleted account, but because we had not queried the account name. They get created on the second pass of Database.insert.