removed test from sample project
added Sample C project, which depends on Sample B
added end-to-end test for N level dependencies
extracted method to collect dependencies