widgets can recover from errors. Upgraded sinon.js