@Test
public void testMine() {

	boolean miningTestEnabled = false;
	
	if(miningTestEnabled) {
		Block block = createBlock();
		assertEquals(rlpWithoutNonce, Hex.toHexString(block.getEncodedWithoutNonce()));
		System.out.println("Searching for nonce of following block: \n" + block.toString());
		
		Miner miner = new Miner();
		boolean mined = miner.mine(block, block.getDifficulty());
		assertTrue(mined);
		boolean valid = block.validateNonce();
		assertTrue(valid);
		
		// expectedHash is the actual hash from block#32 in PoC5 chain based on nonce below
		String expectedHash = "ce7201f6cc5eb1a6f35c7dda8acda111647a0f8a5bf0518e46579b03e29fe14b";
		assertEquals(expectedHash, Hex.toHexString(block.getHash()));
		// expectedNonce is the actual nonce from block#32 in Poc5 chain
		String expectedNonce = "0000000000000000000000000000000000000000000000001f52ebb192c4ea97"; // from Poc5 chain
		// Actual is "000000000000000000000000000000000000000000000000000000000098cc15" 
		// but that might also be a valid nonce in compliance with PoW(H!n, n) < (2^256 / difficulty)
		assertEquals(expectedNonce, Hex.toHexString(block.getNonce()));
	}
}