anchor.diff:                 'Result-Code' := ?INVALID_AVP_LENGTH,
                  'Origin-Host' := _,
                  'Origin-Realm' := _,
  -               'Failed-AVP' := Avps}]
  -        = call(Config, Req),
  -    [[_]] = failed_avps(Avps, Config).
  +               'Failed-AVP' := [#{'AVP' := [_]}]}]
  +        = call(Config, Req).
   
   %% Send a request containing 5xxx errors that the server rejects with
   %% 3xxx.
  
positive.code:                                    {'Proxy-State', ""}]]}],
      ['ASA' | #{'Session-Id' := _,
                 'Result-Code' := ?INVALID_AVP_LENGTH,
                 'Failed-AVP' := Avps}]
          = call(Config, Req),
      [[#diameter_avp{name = 'Proxy-Info', value = V}]]
          = failed_avps(Avps, Config),
      {Empty, undefined, []} = proxy_info(V, Config),
      <<0>> = ?B(Empty).
  
  %% Send an STR that the server ignores.
  send_noreply(Config) ->
  
negative.code:                                          data = <<17>>}]}],
      ['ASA' | #{'Session-Id' := _,
                 'Result-Code' := RC,
                 'Failed-AVP' := [#{'AVP' := [Avp]}]}]
          = call(Config, Req),
      #diameter_avp{code = 999,
                    is_mandatory = M,
                    data = <<17, _/binary>>} %% extra bits from padding
          = Avp.
  
  %% Ditto but set the M flag.
  send_unknown_mandatory(Config) ->
  