Rework pubstack module tests to remove race conditions (#1522)
Rework pubstack module tests to remove race conditions (#1522)

* Rework pubstack module tests to remove race conditions

* PR feedback

* Remove event count and add helper methods to assert events received on channel
prebid/prebid-server,prebid/prebid-server,prebid/prebid-server