Former US secretary of state to testify in the trial of Tom Barrack for allegedly acting as a foreign agent for the UAE.