Improve test coverage for schedule model