This test verifies that a thread can call `thread_yield_higher()` with IRQs disabled, and that the actual context switch is deferred until IRQs are re-enabled.