Fixed broken tests in transaction.