Text this: Integrating wrapper design, TAM assignment, and test scheduling for SOC test optimization