added sinon and basic test
Merge pull request #50 from maraoz/feature/add-sinonjs

added sinon and basic test