How to test a registration form?