added and reorganized unit tests for BasicQueueTest and QueueListenerTest

There are some additional corner cases to test. What if collection null. What if argument <=0. Etc etc. I'm sure you can come up with some additional cases.