Added CLI constant to change Response to CLI mode.
extending tests
Extended tests