Is this necessary with sinon?