I'm not sure these mocha and sinon actually do in node.
I remember both mocha and sinon are executed in browser. Maybe we need to sync these upgrades in gaia too?