anchor.diff:      ?assertEqual("200",Code1).
       %%------------------------------
   
  -% tests writing to file at random ranges
  +% tests reading&writing file at random ranges
   out_of_range_test(_Config) ->
       FileName = "random_range_file.txt",
       create_file(FileName),
   
  -    %%---- reading out of range ----
  +    %%---- reading out of range ---- (shuld return empty binary)
       ?assertEqual(<<>>, get_file_content(FileName)),
       RequestHeaders1 = [{"X-CDMI-Specification-Version", "1.0.2"}],
   
  
positive.code:     ?assertEqual(<<100,97,116,97,0,0,0,0,0,0,100,97,116,97>>, get_file_content(FileName)), % "data(6x<0_byte>)data"
      %%------------------------------
  
      %%----- random childrange ------
      {Code4, _Headers4, Response4} = do_request(?Test_dir_name ++ "/?children:100-132", get, RequestHeaders2, []),
      ?assertEqual("400",Code4),
      {struct, CdmiResponse4} = mochijson2:decode(Response4),
  
negative.code:     {struct, CdmiResponse1} = mochijson2:decode(Response1),
      ?assertEqual(<<"Processing">>, proplists:get_value(<<"completionStatus">>, CdmiResponse1)),
  
      % upload second chunk of file
      RequestBody2 = rest_utils:encode_to_json([{<<"value">>, base64:encode(Chunk2)}]),
      {Code2, _Headers2, _Response2} = do_request(FileName ++ "?value:4-4", put, RequestHeaders1, RequestBody2),
      ?assertEqual("204",Code2),
  
      % upload third chunk of file
      RequestHeaders3 = [{"X-CDMI-Specification-Version", "1.0.2"}, {"Content-Type", "application/cdmi-object"}],
      RequestBody3 = rest_utils:encode_to_json([{<<"value">>, base64:encode(Chunk3)}]),
      {Code3, _Headers3, _Response3} = do_request(FileName ++ "?value:5-9", put, RequestHeaders3, RequestBody3),
      ?assertEqual("204",Code3),
  
      % get created file and check its consistency
      RequestHeaders4 = [{"X-CDMI-Specification-Version", "1.0.2"}],
      {Code4, _Headers4, Response4} = do_request(FileName, get, RequestHeaders4, []),
      ?assertEqual("200",Code4),
  