Testcase for connection to websocket resources.