async def METHOD_NAME(self, monkeypatch):
    monkeypatch.setattr(helpers, "CACHED_FOLDER", tempfile.mkdtemp())
    chatbot = gr.ChatInterface(
        async_greet, examples=["abubakar", "tom"], cache_examples=True
    )
    prediction_hello = await chatbot.examples_handler.load_from_cache(0)
    prediction_hi = await chatbot.examples_handler.load_from_cache(1)
    assert prediction_hello[0][0] == ["abubakar", "hi, abubakar"]
    assert prediction_hi[0][0] == ["tom", "hi, tom"]