@Test(groups = "fast")
public void testMerge() throws Exception {
IntegerHashSetFactory longHashSetFactory = new IntegerHashSetFactory(maxSetSize);
SampledSet<Long> otherSet =
new SampledSetImpl<Long>(maxSetSize / 4, new LongMurmur3Hash(), longHashSetFactory);
int firstSetSize = maxSetSize / 2;
// populate the first set to its max size
for (int i = 0; i < firstSetSize; i++) {
integerSet.add((long)i);