Added functional tests with dependencyinjection.json file.