Added tests for $.ajax  setting