Fixing jenkins tests