Transaction tests.