Implement ctl command for ktest