Fixed tests
Added travis script