Added more functional test for AjaxHandler in AdminPortalTest