Test fix covering fastapi 0.135