getPrimaryEmailAddress unit test