Fixed Scala tests
Added travis settings