benchmark: context_switch testcase refactoring.