anchor.diff:  % Tests if proper error message is returned when user doesn't exist in the database
   rest_test_user_unknown(DN) ->
       {Code1, Headers1, Response1} = do_request(?REST_FILES_SUBPATH, get, [], []),
  -    ?assertEqual(Code1, "500"),
  -    ?assertEqual(proplists:get_value("content-type", Headers1), "application/json"),
  -    ?assertEqual(list_to_binary(Response1), rest_utils:error_reply(?report_error(?error_user_unknown, [DN]))).
  +    ?assertEqual("500", Code1),
  +    ?assertEqual("application/json", proplists:get_value("content-type", Headers1)),
  +    ?assertEqual(rest_utils:error_reply(?report_error(?error_user_unknown, [DN])), list_to_binary(Response1)).
   
   
   % Tests if version matching mechanism works correctly and if proper errors are returned
  
positive.code:     {Code2, Headers2, Response2} = do_request("latest", ?REST_FILES_SUBPATH, get, [], []),
      ?assertEqual(Code2, "200"),
      ?assertEqual(proplists:get_value("content-type", Headers2), "application/json"),
      ?assertEqual(Response2, "[\"dir\",\"groups\"]"),
  
      {Code3, Headers3, Response3} = do_request("asdfgadrfg", get, [], []),
      ?assertEqual(Code3, "500"),
  
negative.code:     {Code1, Headers1, Response1} = do_request(?REST_FILES_SUBPATH, get, [], []),
      ?assertEqual(Code1, "200"),
      ?assertEqual(proplists:get_value("content-type", Headers1), "application/json"),
      ?assertEqual(Response1, "[\"dir\",\"spaces\"]"),
  
      {Code2, Headers2, Response2} = do_request(?REST_FILES_SUBPATH ++ "dir", get, [], []),
      ?assertEqual(Code2, "200"),
  