Add builder for IDependency instances
Add tests