jasmine-ajax style stubbed test