WebSocket Unit Test