Added tests for CacheFactory
Added tests for service container factory.
Added tests for initializer.