AJAX mocking examples