Changed sinon version to use ~ instead of ^