test publisher - subscriber