Adding support for testnet difficulty transitions