Added DI tests.