Add travis file and test script to package.json