Add Sinon.JS; some test stubs