add queue item feature with tests