Added test around fetching of queues