Add basic nested dependency test.