AddDbContext method for DI

This test will fail if TestContext has only the constructor that takes DbContextOptions, being unable to find a DbContextOptions service (notice that the test registers an IOptionsAccessor<DbContextOptions<>>). What should happen in that case?