updated docs and WebSocketServer tests