guessLanguage variants and tests