modified lib/command_test/cli.rb