Added tests to WebsocketTest/websocket_js_spec.js