minor improvement to cli-test.sh