Test websocket server