Test for Web Socket close in SharedWorker.

On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".