Fix issue with TestExecutor and WebSocketTest