Corrected syntax of fail callback on $.ajax tests