test for register page