anchor.diff:  wait_for_session_count(Config, Count) ->
       wait_for_session_count(Config, Count, 0).
   
  +get_remote_sessions(Config) ->
  +    escalus_overridables:do(Config, get_remote_sessions, [],
  +                            {?MODULE, default_get_remote_sessions}).
  +
   wait_for_session_count(Config, Count, TryNo) when TryNo < 20 ->
  -    case length(call_get_remote_sessions(Config)) of
  +    case length(get_remote_sessions(Config)) of
           Count ->
               ok;
           _ ->
  
positive.code:             wait_for_session_count(Config, Count, TryNo + 1)
      end;
  wait_for_session_count(Config, Count, _) ->
      ct:fail({wait_for_session_count, Count, call_get_remote_sessions(Config)}).
  
  get_remote_sessions() ->
      rpc(ets, tab2list, [session]).
  
  %%--------------------------------------------------------------------
  %% Helpers
  
negative.code:     [U, S, _P] = escalus_users:get_usp(UserSpec),
      rpc(ejabberd_admin, unregister, [U, S]).
  
  default_get_remote_sessions() ->
      rpc(ets, tab2list, [session]).
  