public static void test22() {
    byte[] b = new byte[10];
    for (int i = 0; i < 10; i++) b[i] = (byte) i;

    mc.set("foo", b);
    assert Arrays.equals((byte[]) mc.get("foo"), b);
  }
  public static void test20(int max, int skip, int start) {
    int numEntries = max / skip + 1;
    String[] keys = new String[numEntries];
    byte[][] vals = new byte[numEntries][];

    int size = start;
    for (int i = 0; i < numEntries; i++) {
      keys[i] = Integer.toString(size);
      vals[i] = new byte[size + 1];
      for (int j = 0; j < size + 1; j++) vals[i][j] = (byte) j;

      mc.set(keys[i], vals[i]);
      size += skip;
    }

    Map<String, Object> results = mc.getMulti(keys);
    for (int i = 0; i < numEntries; i++)
      assert Arrays.equals((byte[]) results.get(keys[i]), vals[i]);
  }