Unit tests Cli::Publish