added functionality to deactivate controller on remote from appinvoker class with tests