Bug 905354 - Update test-tabs.js file

Using a safe method to close windows and using the new test framework.