New Unittest: testDynamicRouteWithOptionalNestedSubpatterns