Fill out test for `WorkItem` queue and fix