modified testTedsManagerTIM