anchor.diff:      tester:test(?MODULE, prop_changed_keys_get_entries4, 3, rw_suite_runs(1000), [{threads, 2}]).
   
   tester_get_chunk3(_Config) ->
  -    prop_get_chunk3([0, 4, 31], '[', 0, 4, ']', 2),
  -    prop_get_chunk3([1, 5, 127, 13], '[', 3, 2, ']', 4),
  -    tester:test(?MODULE, prop_get_chunk3, 6, rw_suite_runs(1000), [{threads, 2}]).
  +    prop_get_chunk3([0, 4, 31], intervals:new('[', 0, 4, ']'), 2),
  +    prop_get_chunk3([1, 5, 127, 13], intervals:new('[', 3, 2, ']'), 4),
  +    tester:test(?MODULE, prop_get_chunk3, 3, rw_suite_runs(1000), [{threads, 2}]).
   
   tester_delete_chunk3(_Config) ->
  -    tester:test(?MODULE, prop_delete_chunk3, 6, rw_suite_runs(1000), [{threads, 2}]).
  +    tester:test(?MODULE, prop_delete_chunk3, 3, rw_suite_runs(1000), [{threads, 2}]).
   
   tester_changed_keys_update_entries(_Config) ->
       tester:test(?MODULE, prop_changed_keys_update_entries, 4, rw_suite_runs(1000), [{threads, 2}]).
  
positive.code:         _ -> true
      end.
  
  -spec prop_delete_chunk3(Keys::[?RT:key()], BeginBr::intervals:left_bracket(), Begin::?RT:key(),
                          End::?RT:key(), EndBr::intervals:right_bracket(), ChunkSize::pos_integer()) -> true.
  prop_delete_chunk3(Keys2, BeginBr, Begin, End, EndBr, ChunkSize) ->
      Interval = intervals:new(BeginBr, Begin, End, EndBr),
      case not intervals:is_empty(Interval) of
          true ->
              Keys = lists:usort(Keys2),
  
negative.code:             {Next, Chunk} = ?TEST_DB:get_chunk(DB2, Interval, ChunkSize),
              ?TEST_DB:close(DB2),
              ?equals(lists:usort(Chunk), lists:sort(Chunk)), % check for duplicates
              KeysInRange = count_keys_in_range(Keys, Interval),
              ExpectedChunkSize =
                  case ChunkSize of
                      all -> KeysInRange;
                      _   -> erlang:min(KeysInRange, ChunkSize)
                  end,
              case ExpectedChunkSize =/= length(Chunk) of
                  true ->
                      ?ct_fail("chunk has wrong size ~.0p ~.0p ~.0p, expected size: ~.0p",
  