Remove spurriosu using declaration in register_of test