Add a test for the event dispatched by DedicatedWorkerGlobalScope.postMessage.