added in test switch to send test websocket