Replacing DI container registrations for ASP.NET Core scenario testing