Added tests, freeze requirements.txt,and integration with travis CI with yml file