implemented class WebSocketTest