I really like how you use spy's yield here. very smart.

I'll keep the custom mock_l10n until we land the shared one, but I'll keep it as small as possible and just replace with the unified one when it lands.