anchor.diff:  start(_Config) ->
       ok = diameter:start().
   
  -start_services(_Config) ->
  -    ok = diameter:start_service(?SERVER, ?SERVICE(?SERVER)),
  -    ok = diameter:start_service(?CLIENT, [{sequence, ?CLIENT_MASK}
  -                                          | ?SERVICE(?CLIENT)]).
  +start_services(Config) ->
  +    #group{client_service = CN,
  +           client_strings = CD,
  +           server_service = SN,
  +           server_strings = SD}
  +        = group(Config),
  +    ok = diameter:start_service(SN, ?SERVICE(SN, SD)),
  +    ok = diameter:start_service(CN, [{sequence, ?CLIENT_MASK}
  +                                     | ?SERVICE(CN, CD)]).
   
   add_transports(Config) ->
  -    LRef = ?util:listen(?SERVER,
  +    #group{client_service = CN,
  +           server_service = SN}
  +        = group(Config), 
  +    LRef = ?util:listen(SN,
                           tcp,
                           [{capabilities_cb, fun capx/2},
                            {spawn_opt, [{min_heap_size, 8096}]},
                            {applications, apps(rfc3588)}]),
  -    Cs = [?util:connect(?CLIENT,
  +    Cs = [?util:connect(CN,
                           tcp,
                           LRef,
                           [{id, Id},
  
positive.code:     Req = ['STR', {'Termination-Cause', ?LOGOUT}],
      {error, no_connection} = call(Config, Req, [{filter, {any, []}}]).
  send_any_2(Config) ->
      Req = ['STR', {'Termination-Cause', ?LOGOUT},
                    {'Destination-Host', [?HOST(?SERVER, "unknown.org")]}],
      ?answer_message(?UNABLE_TO_DELIVER)
          = call(Config, Req, [{filter, {any, [host, realm]}}]).
  
  
negative.code: 
  %% Send with filtering and expect success.
  send_destination_1(Config) ->
      #group{server_service = SN}
          = group(Config),
      Req = ['STR', {'Termination-Cause', ?LOGOUT},
                    {'Destination-Host', [?HOST(SN, ?REALM)]}],
      ['STA', _SessionId, {'Result-Code', ?SUCCESS} | _]
          = call(Config, Req, [{filter, {all, [host, realm]}}]).
  send_destination_2(Config) ->
  