Bug 1039825 - "ReferenceError: newTab is not defined" running `test-widget`

- Added `.catch(assert.fail)` after each `openNewWindowTab` calls
- Removed unused and undeclared `newTab` variable