anchor.diff:      ?assertEqual(<<"dir/">>, proplists:get_value(<<"objectName">>,CdmiPesponse1)),
       ?assertEqual(<<"Complete">>, proplists:get_value(<<"completionStatus">>,CdmiPesponse1)),
       ?assertEqual([<<"file.txt">>], proplists:get_value(<<"children">>,CdmiPesponse1)),
  -    {struct, Metadata1} = proplists:get_value(<<"metadata">>,CdmiPesponse1),
  -    ?assertEqual(<<"0">>, proplists:get_value(<<"cdmi_size">>, Metadata1)),
  -    CTime1 = binary_to_integer(proplists:get_value(<<"cdmi_ctime">>, Metadata1)),
  -    ATime1 = binary_to_integer(proplists:get_value(<<"cdmi_atime">>, Metadata1)),
  -    MTime1 = binary_to_integer(proplists:get_value(<<"cdmi_mtime">>, Metadata1)),
  -    ?assert(CTime1 =< Now),
  -    ?assert(CTime1 =< ATime1),
  -    ?assert(CTime1 =< MTime1),
  -    ?assertEqual(<<"veilfstestuser">>, proplists:get_value(<<"cdmi_owner">>, Metadata1)),
  +    ?assert(proplists:get_value(<<"metadata">>,CdmiPesponse1) =/= <<>>),
   
       %%------------------------------
   
  
positive.code:     ?assertEqual(<<"file.txt">>, proplists:get_value(<<"objectName">>,CdmiPesponse1)),
      ?assertEqual(<<"/">>, proplists:get_value(<<"parentURI">>,CdmiPesponse1)),
      ?assertEqual(<<"Complete">>, proplists:get_value(<<"completionStatus">>,CdmiPesponse1)),
      {struct, Metadata1} = proplists:get_value(<<"metadata">>,CdmiPesponse1),
      ?assertEqual(<<"13">>, proplists:get_value(<<"cdmi_size">>, Metadata1)),
      CTime1 = binary_to_integer(proplists:get_value(<<"cdmi_ctime">>, Metadata1)),
      ATime1 = binary_to_integer(proplists:get_value(<<"cdmi_atime">>, Metadata1)),
      MTime1 = binary_to_integer(proplists:get_value(<<"cdmi_mtime">>, Metadata1)),
      ?assert(Before1 =< CTime1),
      ?assert(CTime1 =< After1),
      ?assert(CTime1 =< ATime1),
      ?assert(CTime1 =< MTime1),
      ?assertEqual(<<"veilfstestuser">>, proplists:get_value(<<"cdmi_owner">>, Metadata1)),
  
      ?assert(object_exists(ToCreate)),
      ?assertEqual(FileContent,get_file_content(ToCreate)),
  
negative.code: 
      %%------ base64 create ---------
      ?assert(not object_exists(ToCreate2)),
  
      RequestHeaders2 = [{"content-type", "application/cdmi-object"},{"X-CDMI-Specification-Version", "1.0.2"}],
      RequestBody2 = [{<<"valuetransferencoding">>,<<"base64">>},{<<"value">>, base64:encode(FileContent)}],
      RawRequestBody2 = rest_utils:encode_to_json(RequestBody2),
      {Code2, _Headers2, Response2} = do_request(ToCreate2, put, RequestHeaders2, RawRequestBody2),
  
      ?assertEqual("201",Code2),
      {struct,CdmiPesponse2} = mochijson2:decode(Response2),
  