added test for newSemesterForClass