Add test to cover a condition in LanguageNegotiator