Added test for registration form view