use wrap in TransactionTest