pubsub: Adding regression tests for subscriptions