typo in window name
improved logic to preven tests failing on subscriptions not have more than one contract
trial change
trial change