Bug 934227 - [v1.2] Uplift contact import and export tests from master

Uplifting these changes to `v1.2`