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

    Block block = new Block(params, blockBytes);
    assertEquals("4 Nov 2010 16:06:04 GMT", block.getTime().toGMTString());
}