add pubsub tests