def test_raw_context_middleware_initialization(raw_context_app):
    """
    Test that the RawContextMiddleware initializes correctly.
    """
    with TestClient(raw_context_app) as client:
        response = client.get("/")
        assert response.status_code == HTTP_200_OK

        data = response.json()["context"]
        assert "test_key" in data
        assert data["test_key"] == "test_value"
        assert plugins.RequestIdPlugin.key in data
        assert plugins.CorrelationIdPlugin.key in data

    Test that the RawContextMiddleware initializes correctly.
    
tests/test_starlette_compatibility.py