transactionservice unittest