added AJAX tests