/** test Writable */
 public void testWritable() throws Exception {
   TestWritable.testWritable(ExportedAccessKeys.DUMMY_KEYS);
   AccessTokenHandler handler =
       new AccessTokenHandler(true, accessKeyUpdateInterval, accessTokenLifetime);
   ExportedAccessKeys keys = handler.exportKeys();
   TestWritable.testWritable(keys);
   TestWritable.testWritable(BlockAccessToken.DUMMY_TOKEN);
   BlockAccessToken token =
       handler.generateToken(blockID3, EnumSet.allOf(AccessTokenHandler.AccessMode.class));
   TestWritable.testWritable(token);
 }
 @Test
 public void testWritable() throws Exception {
   for (int i = 0; i < 10000; i++) {
     TestWritable.testWritable(new UTF8(getTestString()));
   }
 }