Test register form.