public void testConsistency() throws Exception {
Random rnd = new Random(42);
PeerDHT peers [] = UtilsReplication.createNodes(11, rnd, 4000, null);
UtilsReplication.perfectRouting(peers);
RoutingConfiguration r = new RoutingConfiguration(6, 10, 2);
RequestP2PConfiguration p = new RequestP2PConfiguration(6, 10, 0);
FuturePut fp = peers[5].put(Number160.MAX_VALUE).routingConfiguration(r).requestP2PConfiguration(p).data(new Data("test")).start();
fp.awaitUninterruptibly();
//now it is stored on 6 peers: 0, 1 , 2, 4, 5, 8
for(PeerDHT p1:peers) {