added extended transactions
added:
extended tests on threads
enum checking