add Module.dependenciesOf(mod)
improve test coverage