Note: you can also run assertions that mozL10n was called, and with the keys you expect using sinon.stub. You might not actually need to test the l10n.js logic in a unit test, but we can probably find a way to do so.