Resolving router pathsToRegexp list
Adding tests
Adding tests
Test improved