1 Test if WebSocket is closed while handshaking and unreferenced, it should fire close event at most once.
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
5 PASS 1 is >= countCloseEvent
6 PASS successfullyParsed is true