added user registration tests