I think this test ought to open a browser window here and have a `browserEvents` listener end the test, in order to avoid a race condition from producing false positives.