Reformat unit tests, corrected ScheduleStub

ScheduleStub changed to refer to ClassDetailsStub; re-formatted unit
test code to match documentation layout.