Bug 1000173 - Display User Icon in Settings When FMD is Remotely Trackin...

...g Device
Here we could only test whether `mozL10n.localize` is called with correct parameter. So we need to spy the function first: `sinon.spy(navigator.mozL10n, 'localize')`.