Token queue, tests