anchor.diff:                     || {S, P} <- Addresses],
           BucketCount = length(lists:usort(Buckets)),
           % At least 3 different bucket indexes
  -        ?assert((BucketCount =< 4) and (BucketCount >= 3)),
  +        ?assertMatch(_ when (BucketCount =< 4) and (BucketCount >= 3), BucketCount),
           Buckets
       end, Groups),
       SelectedBucketsCount = length(lists:usort(lists:flatten(SelectedBuckets))),
  
positive.code: %% Tests that for the same source group and peer group, there is at most 4
  %% possible unverified buckets selected.
  %% Checks that at least 90% of the buckets get selected during the test.
  test_unverified_bucker_groups_selection() ->
      PoolOpts = [
          {unver_bcount, 1024},
          {unver_source_shard, 64},
  
negative.code: bucket_index_test_() -> [
      {"Unverified bucket index selection for same source group",
       {timeout, 100, fun test_unverified_bucket_source_group_selection/0}},
      {"Unverified bucket index selection for same source and peer group",
       {timeout, 100, fun test_unverified_bucket_groups_selection/0}},
      {"Verified bucket index selection for same peer group",
       {timeout, 100, fun test_verified_bucket_peer_group_selection/0}}
  ].
  