Fix testGetLanguages