Updated tests for Console, DIContainer, and modified DIContainer

Added some tests to DIContainerTest and other Test files, included mocking.