async def METHOD_NAME(mock_responses, mock_aioresponses):
    server_url = "http://fake.local/v1"
    x5u_url = "http://fake-x5u-url/"
    changes_url = server_url + RECORDS_URL.format("monitor", "changes")
    mock_responses.get(
        changes_url,
        payload={
            "data": [
                {"id": "abc", "bucket": "bid", "collection": "cid", "last_modified": 42}
            ]
        },
    )
    mock_aioresponses.get(x5u_url, status=500)
    mock_aioresponses.get(x5u_url, status=500)
    mock_aioresponses.get(x5u_url, body=CERT)
    mock_responses.get(
        server_url + CHANGESET_URL.format("bid", "cid"),
        payload={
            "metadata": {"signature": {"x5u": x5u_url, "signature": ""}},
            "changes": [],
            "timestamp": 42,
        },
    )
    status, data = await run(server_url, ["bid"], root_hash="AA")
    assert status is False
    # Here we can see that it fails for other reasons than x5u.
    assert data == {
        "bid/cid": "CertificateExpired(datetime.datetime(2019, 11, 11, 22, 44, 31))"
    }