Add test and Travis CI integration