Unit test for transaction failure fix in previous commit.