complete the test coverage for librarySchedule.js