def METHOD_NAME(library):
    library.add_text("Example Text")
    assert len(library.elements) == 1
    assert library.elements[0] == {
        "type": "text",
        "value": "Example Text",
        "size": "medium",
    }