Updated to new version of sinon