test cases(websocket) working