Refactoring TransactionLogHanderTest