Lock sinon.js to fix a travis exception
Passes model and index to emptyViewOptions.
Fix testcase typo