Added a few tests for the CLI.