register

change register testcase for member. And add logic after register.