Add transaction tests.