I believe I have had the same problem. Maybe try:
local itemUID = doCreateItemEx(5954, 1)
doPlayerAddItemEx(cid, itemUID, true)
doSetItemText(itemUID, "testing")
If you want to replace the item you would have to add: doPlayerRemoveItem(cid, 5954, 1) in the beginning.