Add tests
Set up Travis CI