Fixed tests in lib/agent/cli_controller_spec