Adding upgrade shell command and testing it on TestApp controllers