specs for pubsub working