Unit test on pathsToRegexp
Add smoke tests