move stage test of setup function to ControlBase