Added dependencyinjection.json file and created functional tests.