TextToSpeechTest: factor out the language checks