Fixed test to reflect AJAX