added dependencies for sinon
added example test