added message method to client + tests
added example