Share L10n mocking logic across all tests