Add support for transaction method via $transaction

Basic unit test added to test_chat suite