Transactions tests.