fix ktest to use JCommander
delete dependency on Commons CLI
fix copyright
fix nullpointerexception