added the IoC injection in one of the tests
added the IoC injection in one of the tests