Test Rails AJAX app