Fix bug for ContainerBuilderTest