write example test.
update travis.yml.