added new users test for register function