Test that WebSocket fires error event if no WebSocket Server can be connected, and close is called from onclose event.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
Test start (Port 8890)
PASS onerror was called
PASS onclose was called
PASS successfullyParsed is true
TEST COMPLETE