context switch test case