Increasing unit test coverage for transactions.