tested queue.size()