add test-client

this send messages at a random delay and corrupts 30% of the
messages with a random amount of random bytes
add comments about testing
add test-client to build