QueueTest added, Queue modified to allow exporting