added and reorganized unit tests for BasicQueueTest and QueueListenerTest

Drop the name.