async def METHOD_NAME(self, client):
    data = SavedSearchCreate(
        name="My SavedSearch",
    ).dict(json_compatible=True)
    response = await client.put("/saved_searches/", json=data)
    assert response.status_code == status.HTTP_201_CREATED
    assert response.json()["name"] == "My SavedSearch"
    saved_search_id = response.json()["id"]
    # post different data, upsert should be respected
    data = SavedSearchCreate(
        name="My SavedSearch",
    ).dict(json_compatible=True)
    response = await client.put("/saved_searches/", json=data)
    assert response.status_code == status.HTTP_200_OK
    assert response.json()["name"] == "My SavedSearch"
    assert response.json()["id"] == saved_search_id