test tornado to use websocket