Fix transactionReference tests