added test for queues