Fixes travis build for tests