tests for deleting pending item
delete pending items