added simple testcase and fix to Router::setBasePath

@matsu911 very good :smile: 
But you can separate a class by file, to use `composer autoload` here. right?
And we need a `phpunit.xml` to run all tests easy way.
Can you do it?