Improve testing coverage for schedule model