[BUG #7184] Sinon.JS upgrade included fix which eventually revealed failing test