added and reorganized unit tests for BasicQueueTest and QueueListenerTest

Check the actual content of the drained list. Maybe there is an error and the order is wrong.. or maybe we add the same item 10 times..