Tests for ControllerRegistry