added and reorganized unit tests for BasicQueueTest and QueueListenerTest

You can also do:
``
try{
...
fail();
}finally(DistributedObjectDestroyedException expected){
}
```