make tests more stable
add gitignore
send and receive message-length
create a travis file