I don't understand why this test needs to be an async test. Can't you just use testInIframe to create two iframes and write a simpler, synchronous test?