test for Schedule