[Extensions] Add a test that another extension depends on another

In this test an extension ("another") depends on two other extensions ("outer" and "outer.inner"),
by using objects that are provided by those extensions.