testing Ajax connectivity