Add tests via Travis CI [pull request] 

Fixes #21.