Updated CLI help and added initial unit tests for CLI.