Added test for registration form