Add some tests
Add Travis CI config