@Test
public void testAddChannel(){

    P2PBroadcastChannel test = new P2PBroadcastChannel(P2PBroadcastChannelName.BLOCK, null);
    Assert.assertNull(appState.getChannel(P2PBroadcastChannelName.BLOCK));
    appState.addChannel(test);
    Assert.assertNotNull(appState.getChannel(P2PBroadcastChannelName.BLOCK));
}