Tests for adjustProgramlistingLanguages function