Test updated so that they delete the transactions from code