Fix register form tests.