A former researcher with Quebec's hydro utility has taken the stand in his trial for allegedly spying on behalf of China.