change Test on register method