rm unneeded pop from TestRegister