Added the functional tests and dependency injection file.