fixed websocket voting test to end event