Test asyncsubmit is skipped if submit is prevented