@Test
public void resetTest() {

    ChatState chatState = new ChatState();
    byte[][] txs = {
            new Message("hello camille, we need to talk!", "alice" ).toBytes()
    };
    Block block = new Block();
    block.body.transactions = txs;
    chatState.processBlock(block);
    chatState.reset();
    List<IMessage> messages = chatState.getMessagesFromIndex(0);
    assertEquals(0, messages.size());
}