added tests
added travis status to README
Merge pull request #1 from ruhly/unit-tests

added unit test and updated README to include travis status