add mock of instance.container