Added some unit tests
Added travis file