Fix unittest with icalendar >= 3.6

Component.set was removed in icalendar 3.6
Merge pull request #19 from bport/fix_icalendar

Fix unittest with icalendar >= 3.6