Using SinonJS to mock jQuery AJAX requests in QUnit