added sinon dependency to tests