Client can send messages to topic
Refactor - removed duplication from client-test