Add pubsub dependency for tests