Enhancing queue item repository test