updated websocket test case