Write termination tests for broadcasts and pub/sub.