pubsub: Improving test coverage.