adding coverage to QueueItem model, fixing qitem factory