implemented callback handling
implemented transactions, tests passing, alls test transactions are getting closed as expected