The tests were using languageData.languages, which was undefined. This patch adds a method to get all the languages to be able to test.