Working, if ugly, dependency injection

Got some tests of parent components with mock children. That ain’t bad.