Added the test case for indirect dependencies