Update schedule.c

removed test