- added sinon.js
- added some tests