The library should test the routes based on whether the endpoint routing is turned on or off. More information here: https://aregcode.com/blog/2019/dotnetcore-understanding-aspnet-endpoint-routing/