Resolves dependencies.
Adds test bootstrapping code.