@Test
public void testBlock() {

    BlockOption bo = new BlockOption(16, BlockSize.S_16, false);
    BlockOption bo2 = new BlockOption(bo.toBytes());
    assertEquals(bo, bo2);
    bo = new BlockOption(16, BlockSize.S_16, true);
    bo2 = new BlockOption(bo.toBytes());
    assertEquals(bo, bo2);
    bo = new BlockOption(15, BlockSize.S_16, false);
    bo2 = new BlockOption(bo.toBytes());
    assertEquals(bo, bo2);
}