New test for another error case in DepositScriptAddress

Restoring the original should probably be a defered function to avoid any possibility of weird side effects. And since we promise to reset it we should do it even in case of a crash or the like in the callback.