test for schedule