Former FBI Director James Comey has agreed to testify in open session before the Senate Intelligence Committee.