remove superfluous testing code for pubsub