added and reorganized unit tests for BasicQueueTest and QueueListenerTest

I would do a single assertTrue(contains).