Replaced mocha + chai with qunit and sinon.
Example tests with qunit and sinon.
Replaced mocha grunt task with qunit task.
Fixed syntax on test spec -- jshint 0.9.1 forces space after 'function'.