removeDependency also removes from custom cache, fix test
disallow adding  dependency
2.0.7