Test websocket

Testing send for sending string message and not sending any message while the connection is not established and raise really error.