add test cases for LanguageService.
Merge pull request #185 from pfctgeorge/tests

add test cases for LanguageService.