Fix test framework after change to Transaction.