added and reorganized unit tests for BasicQueueTest and QueueListenerTest

Hmmmmmmm.... Should we not throw a NPE since we have a blocking queue and it won't support null elements. PLease have a look at the Collection.contains javadoc.