Adding .travis.yml & fixing unit test