Add a test for dependency injection.
new TODO
Merge.