Tested the register command