added simple testcase and fix to Router::setBasePath