Fix no adding uri test, and bug picked by uri test #36

The ticket #36 'Add uri parser' has bug.
This commit doesn't include loading uri test.

I add loading uri test, and I find some bug.
I fix it.