Test submitting with request instead of postFormData