Added some helper functions to the Transactions Test