Test send function in websocket transport

Test send to raise really error if there are no connection established and to send message as string.