Ousted president testifies in Maidan protest trial