Adding support for a null injectable case
Unit test extension and corresponding fix