added test for schedule service