tests pass for main and examples
added support for nested driver dependencies