Additional unit tests for CLI.