TransactionRequestThread test cases and fixes.