queue item delte functionality and test