add tests (close #3)
add .travis.yml and build status to readme