On the witness stand, Tom said that he and John were the only ones in the vehicle.
In his witness testimony, Tom claimed that he and John were the only ones in the car.
On the witness stand, Tom claimed there were five people in the car.