tests: removed uses of Controller.register