Fix Jenkins tests