Ioc container and unit tests