anchor.diff:  	4 => number, 18446744073709551629 => wat},
   
       M1 = maps:remove("hi", M0),
  -    [4,18446744073709551629,int,<<"key">>] = maps:keys(M1),
  -    [number,wat,3,<<"value">>]             = maps:values(M1),
  +    true = is_members([4,18446744073709551629,int,<<"key">>],maps:keys(M1)),
  +    true = is_members([number,wat,3,<<"value">>],maps:values(M1)),
   
       M2 = maps:remove(int, M1),
  -    [4,18446744073709551629,<<"key">>] = maps:keys(M2),
  -    [number,wat,<<"value">>]           = maps:values(M2),
  +    true = is_members([4,18446744073709551629,<<"key">>],maps:keys(M2)),
  +    true = is_members([number,wat,<<"value">>],maps:values(M2)),
   
       M3 = maps:remove(<<"key">>, M2),
  -    [4,18446744073709551629] = maps:keys(M3),
  -    [number,wat]             = maps:values(M3),
  +    true = is_members([4,18446744073709551629],maps:keys(M3)),
  +    true = is_members([number,wat],maps:values(M3)),
   
       M4 = maps:remove(18446744073709551629, M3),
  -    [4]      = maps:keys(M4),
  -    [number] = maps:values(M4),
  +    true = is_members([4],maps:keys(M4)),
  +    true = is_members([number],maps:values(M4)),
   
       M5 = maps:remove(4, M4),
       [] = maps:keys(M5),
  
positive.code:     EncodedTerm = Item, %% Asssert
      match_encoded_map(Bin1,Items).
  
  
  t_bif_map_to_list(Config) when is_list(Config) ->
      [] = maps:to_list(#{}),
      [{a,1},{b,2}] = maps:to_list(#{a=>1,b=>2}),
      [{a,1},{b,2},{c,3}] = maps:to_list(#{c=>3,a=>1,b=>2}),
      [{a,1},{b,2},{g,3}] = maps:to_list(#{g=>3,a=>1,b=>2}),
      [{a,1},{b,2},{g,3},{"c",4}] = maps:to_list(#{g=>3,a=>1,b=>2,"c"=>4}),
      [{3,v2},{hi,v4},{{hi,3},v5},{"hi",v3},{<<"hi">>,v1}] = maps:to_list(#{
  	    <<"hi">>=>v1,3=>v2,"hi"=>v3,hi=>v4,{hi,3}=>v5}),
  
      [{3,v7},{hi,v9},{{hi,3},v10},{"hi",v8},{<<"hi">>,v6}] = maps:to_list(#{
  	    <<"hi">>=>v1,3=>v2,"hi"=>v3,hi=>v4,{hi,3}=>v5,
  	    <<"hi">>=>v6,3=>v7,"hi"=>v8,hi=>v9,{hi,3}=>v10}),
  
      %% error cases
      {'EXIT', {badarg,_}} = (catch maps:to_list(id(a))),
  
negative.code: t_bif_map_keys(Config) when is_list(Config) ->
      [] = maps:keys(#{}),
  
      [1,2,3,4,5] = lists:sort(maps:keys(#{ 1 => a, 2 => b, 3 => c, 4 => d, 5 => e})),
      [1,2,3,4,5] = lists:sort(maps:keys(#{ 4 => d, 5 => e, 1 => a, 2 => b, 3 => c})),
  
      M1 = #{ "hi" => "hello", int => 3, <<"key">> => <<"value">>, 4 => number},
      [4,int,"hi",<<"key">>] = lists:sort(maps:keys(M1)),
  
      %% error case
      {'EXIT',{badarg,[{maps,keys,_,_}|_]}} = (catch maps:keys(1 bsl 65 + 3)),
  