fix test cmdline
fixed tests