test fix on TemporaryQueueTest

The test is now closing connections at the end. the previous assertion needed to be adapted