Test register user