Comey's testimony was an astounding self-immolation. 

He asserts at various times (prior and today) he can't testify on matters of investigation.
He prepared a series of memos on a matter of "investigative interest".
When he gets dismissed he leaks those "investigative interest" memos to a friend with permission to leak them to the media!