New utils.rb to support combination of PaymentTransactionInfoPlugin and tests