Added unit test for Ctor dependency injection