[fix] use path replace url to pathToRegExp; add test
release v0.0.8