Bug 1004514 - Test that the window and tab left over at the end of a test is the same as the one that started the test