Test fixes for jQuery 1.9+

jQuery 1.9+ does not like undefined responseText (results in `parsererror`).