[DependencyInjection] added missing unit test