Pashinyan led street protests that ended 20 years of one-party rule in Armenia and now he faces his first electoral test.