Correct several bugs with vcard import in profile + tests