add test cases for CompileInfoService.
Merge pull request #187 from pfctgeorge/tests

add test cases for CompileInfoService.