add tests
get/save dependencies and cache/pending deependencies