More tests for transaction.