Adding tests for LocalNewUpgradeView

+Lint.