fix a unit test failure on ci server.
Merge pull request #37 from gcheng/serviceruntimebug

fix a unit test failure on ci server.