Bug 934480 - Write a test for Messages app matching with contacts

Bug https://bugzilla.mozilla.org/show_bug.cgi?id=934480