Added different test scripts for dependency injection and service location.