I know it's just a tiny test case, but I think we shouldn't promote "bad" programming style if not really necessary.
Could you extract the addition of the broadcast vars into an `open()` method, such that it is done only once?