[wallet] fixed to make tests pass, added blockchain.destroy tests