Fixed several failing tests by adding a cleanupTransactions method to
the Transaction object and calling it as part of the tearDown of each
test.