Some tests for PubSub