More tests for transaction class.