fix ktest to use JCommander