change all 'jqXHR' to 'xhr" in TestFns