Prepared tests for pubsub module