clearAssignments() works in HomeworkManager