Added ui test for register.