fix bug: fix root uri response error.
fix unit test problem
Merge pull request #346 from forumbyr/master

fix bug