Added async tests of window postMessage