@stuartf: Are polyglots always ordered in order of preference? If not, it might be worth adding a test where the most preferred language is not the first one.