DocCode:jQueryAjaxAdapterTests.js - add test "exception in ajax adapter should be caught in promise" for bug #2590: