VX(C): Add the unit tests for scheduler.