updated broadcastWait-test