added functionality to store if activate or deactivate method was called on remote class with tests