Added test suite.
Added .travis.yml.