def METHOD_NAME():
    p = Patch()
    p.insert(1, "inserted")
    data = patch_to_dict(p)
    assert data["operations"][0] == {
        "operation": "Insert",
        "location": [],
        "params": {"index": 1, "value": "inserted"},
    }