add tests
add travis.yml
add travis build status icon in README.md
Merge remote-tracking branch 'origin/add-tests'

* origin/add-tests:
  add travis build status icon in README.md
  add travis.yml
  add tests