Test: Queue's enumerate functionality