AJAX controller tests