@Test
    public void testMurmurSharding() {
	List<JedisShardInfo> shards = new ArrayList<JedisShardInfo>(3);
	shards.add(new JedisShardInfo("localhost", Protocol.DEFAULT_PORT));
	shards.add(new JedisShardInfo("localhost", Protocol.DEFAULT_PORT + 1));
	shards.add(new JedisShardInfo("localhost", Protocol.DEFAULT_PORT + 2));
	Sharded<Jedis, JedisShardInfo> sharded = new Sharded<Jedis, JedisShardInfo>(
		shards, Hashing.MURMUR_HASH);
	int shard_6379 = 0;
	int shard_6380 = 0;
	int shard_6381 = 0;
	for (int i = 0; i < 1000; i++) {
	    JedisShardInfo jedisShardInfo = sharded.getShardInfo(Integer
		    .toString(i));
	    switch (jedisShardInfo.getPort()) {
	    case 6379:
		shard_6379++;
		break;
	    case 6380:
		shard_6380++;
		break;
	    case 6381:
		shard_6381++;
		break;
	    default:
		fail("Attempting to use a non-defined shard!!:"
			+ jedisShardInfo);
		break;
	    }
	}
	assertTrue(shard_6379 > 300 && shard_6379 < 400);
	assertTrue(shard_6380 > 300 && shard_6380 < 400);
	assertTrue(shard_6381 > 300 && shard_6381 < 400);
    }