Testing Pub side of the messaging protocol