move ical test to xpath, fix on 5.18
fix attachments on perl 5.18