Add .travis.yml for Travis-CI integration and Fix Broken Test