Added tests to verify that the dependencies are not null