#2564 introduced the linkerd upgrade command, with most of the new code in cli/cmd/upgrade.go. Add unit tests for this.
Note that linkerd upgrade tests could leverage functionality described in #2629, where upgrade information is read from a file rather than from Kubernetes.
Part of #2459