@Test
public void consecutiveValuesShouldBeCorrectlyStored() {

   for (long i = 0; i < 10_000; i++) {
      testSet.add(i);
   }
   assertThat(testSet, hasSize(10_000));
   int distinctElements = 0;
   for (final long ignore : testSet) {
      distinctElements++;
   }
   assertThat(distinctElements, is(10_000));
}