Test Cases for queues