Massa ends Bahrain test with fastest time