@SuppressWarnings("deprecation")
@Test
public void testDate() throws Exception {

    Block block = PARAMS.getDefaultSerializer().makeBlock(blockBytes);
    assertEquals("21 Apr 2017 05:01:31 GMT", block.getTime().toGMTString());
}