Added DependencyInjector tests