Fix AJAX tests from failin