Dependency resolution engine with tests.