test getTransactionsOccurred