[#3] Added tests for CLI code with 96% coverage.