def METHOD_NAME(library):
    library.add_checkbox("checkbox-field", "Checkbox value")
    assert len(library.elements) == 1
    assert library.elements[0] == {
        "type": "input-checkbox",
        "name": "checkbox-field",
        "label": "Checkbox value",
        "default": False,
    }