add router unittest
Merge pull request #5 from liuliqiu/master

add router unittest