anchor.diff:                            <<"spaces are not valid@either.com">>, <<"\"spaces are not valid\"@either.com">>],
                 UserEJson = {make_min_valid_create_user_ejson()},
                       [ ?_assertThrow(#ej_invalid{key = <<"email">>},
  -                             chef_user:parse_binary_json(chef_json:encode(ej:set({<<"email">>}, UserEJson, E)), create))
  +                              chef_user:parse_binary_json(chef_json:encode(ej:set({<<"email">>}, UserEJson, E)), create, undefined))
                                || E <- BadEmail]
         end},
        {"Password must be valid", generator,
  
positive.code:               UserEJson = {make_min_valid_create_user_ejson()},
  
                [ ?_assertThrow(#ej_invalid{type = missing, key = Key},
                               chef_user:parse_binary_json(chef_json:encode(ej:delete({Key}, UserEJson)), create))
                               || Key  <- NukeFields]
        end},
       {"Properly formed emails are accepted", generator,
  
negative.code:       fun() ->
                  MinValid = make_min_valid_create_user_ejson(),
                  UserJson = chef_json:encode({MinValid}),
                  {ok, {GotData}} = chef_user:parse_binary_json(UserJson, create, undefined),
                  ?assertEqual(lists:sort(MinValid), lists:sort(GotData))
        end
       },
  