added documentation and a test for using auto generated queues