use sinon and qunit for unit testing of persona login