Unit test fixes

cc @rwldrn - Do these tests still make sense? - Check https://github.com/mozilla-b2g/gaia/pull/9281/files#L3R1126 for the changes to renderContact