add test for ajaxSubmit