added and reorganized unit tests for BasicQueueTest and QueueListenerTest

Can you simplify this to using a single node cluster?