added functionality to call undo method on remote class from commandcontroller class with tests