Added tests with Travis-CI.
Merge pull request #18 from dblock/travis-ci

Added tests with Travis-CI.