Add some documentation and correct tests for publish/subscribe.