Test AJAX request