@Test
  public void testGetWithCallback() throws Exception {
    client.set("getWithCallback", 0, "content").get();

    GetFuture<Object> getOp = client.asyncGet("getWithCallback");

    final CountDownLatch latch = new CountDownLatch(1);
    getOp.addListener(
        new GetCompletionListener() {
          @Override
          public void onComplete(GetFuture<?> f) throws Exception {
            latch.countDown();
          }
        });

    assertTrue(latch.await(2, TimeUnit.SECONDS));
  }