Hosni Mubarak has testified in re-trial of Egypt's first democratically elected leader Mohammed Morsi over a jailbreak during the uprising seven years ago.