pub async fn setup_test_server<F, Fut>( server_url: Option<&str>, server_factory: F, )where F: FnOnce() -> Fut + Send + 'static, Fut: Future<Output = Server> + Send + 'static,