public void TestMethodBlocks()
 {
     Assert.IsTrue(db.GetBlock(block.Hash).Hash == block.Hash);
     Assert.IsTrue(db.BlocksCount() == 1);
     Assert.IsTrue(db.GetBlock(blockNum).Hash == block.Hash);
     Assert.IsTrue(db.GetLastBlock().Hash == block.Hash);
 }