anchor.diff:      end_per_testcase/2]).
   
   -export([choose_adequate_handler/1, list_basic_dir_test/1, list_root_dir_test/1,
  -    list_nonexisting_dir_test/1, get_selective_params_of_dir_test/1]).
  +    list_nonexisting_dir_test/1, get_selective_params_of_dir_test/1,
  +    use_supported_cdmi_version/1, use_unsupported_cdmi_version/1]).
   
   -performance({test_cases, []}).
  -all() -> [choose_adequate_handler].
  +all() -> [choose_adequate_handler, use_supported_cdmi_version, use_unsupported_cdmi_version].
   
   -define(MACAROON, "macaroon").
   -define(TIMEOUT, timer:seconds(5)).
  
positive.code: 
  -include("global_definitions.hrl").
  -include("modules/http_worker/rest/handler_description.hrl").
  -include_lib("ctool/include/logging.hrl").
  -include_lib("ctool/include/test/test_utils.hrl").
  -include_lib("ctool/include/test/assertions.hrl").
  
negative.code:     ?assertEqual([<<"file.txt">>], proplists:get_value(<<"children">>,CdmiResponse4)),
      ?assertEqual(2,length(CdmiResponse4)).
  
  use_supported_cdmi_version(Config) ->
      % given
      [Worker | _] = ?config(op_worker_nodes, Config),
      RequestHeaders = [{"X-CDMI-Specification-Version", "1.1.1"}],
  
      % when
      {Code, ResponseHeaders, Response} = do_request(Worker, "/", get, RequestHeaders, []),
  
      % then
      ?assertEqual("200", Code).
  
  use_unsupported_cdmi_version(Config) ->
      % given
      [Worker | _] = ?config(op_worker_nodes, Config),
      RequestHeaders = [{"X-CDMI-Specification-Version", "1.0.2"}],
  
      % when
      {Code, ResponseHeaders, Response} = do_request(Worker, "/", get, RequestHeaders, []),
  
      % then
      ?assertEqual("400", Code).
  
  %%%===================================================================
  %%% SetUp and TearDown functions
  %%%===================================================================
  