@Test
public void testDifficultyAboveBlock5MShouldTriggerExplosion() throws Exception {

    ETCFork3M etcFork3M = new ETCFork3M(new TestBlockchainConfig());
    BlockHeader parent = new BlockHeaderBuilder(new byte[]{11, 12}, 5_000_000, 268_435_456).build();
    BlockHeader current = new BlockHeaderBuilder(parent.getHash(), 5_000_001, -1).build();
    assertEquals(BigInteger.valueOf(537_001_984), etcFork3M.calcDifficulty(current, parent));
    parent = new BlockHeaderBuilder(new byte[]{11, 12}, 5_199_999, 1_073_872_896).build();
    current = new BlockHeaderBuilder(parent.getHash(), 5_200_000, 1_073_872_896).build();
    assertEquals(BlockHeaderBuilder.parse("2,148,139,072"), etcFork3M.calcDifficulty(current, parent));
}