Add tests for Pulse & PubSub