Improved tests
Fixed duplicate stake when a new chain is received on top of the reverted blocks
Cold minting
added extra tests