Fixes tests with recent junit dependency
Adds travis build