testing karma-sinon as framework