regiter and test for register added