tests: Attempt to fix WebSocket test

Should use the new Runtime and setupWebsocket API
Needed to make tansport optional for DeviceCommunication