add hook for transaction tests
Merge branch 'transaction_tests'