add travis badge
fix multiple encode
fix test
small fix; consumer-producer example