public void addUndetected(String shardId, BigInteger startingHashKey, long currentTimeMs) {
        assert !info.containsKey(shardId);
        info.put(shardId, new TrackingInfo(findOwner(startingHashKey), currentTimeMs));
    }
@Test
    public void detection() {
        addUndetected(SHARD2, 0);
        addUndetected(SHARD4, 0);

        assertNew(set(SHARD0, SHARD2, SHARD5), SHARD0, 0, SHARD2, 1, SHARD5, 2);
        assertNew(set(SHARD0, SHARD2, SHARD5));
        assertNew(set(SHARD1, SHARD3, SHARD4), SHARD1, 0, SHARD3, 1, SHARD4, 2);
        assertNew(set(SHARD1, SHARD3, SHARD4));
    }