add test cases for LanguageService.