Added unit tests
Added travis.yml