Add WebsocketTest to test proper shutdown of websocket server