Oops. This was already being done elsewhere.
Test now works for other vobject versions as well :)
cs fixes
Merge pull request #507 from DominikTo/patch-1

cs fixes