updating to new sinon