@Test(timeout = 1000)
public void testMerge() throws InterruptedException {

    KeyHolder keyHolder = new KeyHolder();
    KeyHolder tmp = new KeyHolder();
    keyHolder.waitForMerge(1);
    keyHolder.addPatial(new Integer[]{}, tmp);
    keyHolder.waitForMerge();
}