Client stack, and end-to-end test for simple pub-sub