Bug 858970 - Wait for tab close before switching to next test in testWindowTabsObject_alt.

https://bugzilla.mozilla.org/show_bug.cgi?id=858970