@Test
public void testConvertExtendedBlock() {

  ExtendedBlock b = getExtendedBlock();
  ExtendedBlockProto bProto = PBHelperClient.convert(b);
  ExtendedBlock b1 = PBHelperClient.convert(bProto);
  assertEquals(b, b1);
  
  b.setBlockId(-1);
  bProto = PBHelperClient.convert(b);
  b1 = PBHelperClient.convert(bProto);
  assertEquals(b, b1);
}