Updated tests (+ fixed bug in minimal_pubsub)