cleanup transaction_test util

command line parser refactor.