Adding some unit tests for publisher+subscribers.