Add a test and set up travis-ci
Merge pull request #7 from b0ri5/testz

Add a test and set up travis-ci