Add spec for DependencyInjection