Added code coverage for the cli.