Ferrari's Carlos Sainz set the fastest lap on Day 2 of pre-season testing in Bahrain on a day punctuated by a number of red flags.