Fix tests for browser handling and l10n