TEST FOR TRANSACTIONS