Did you intend to add `self.assertNotIn('scheduler', self.health_checker)` here? i.e. ensure that scheduler is not added yet.