Test web socket connection works