Made values optional for some assertContainerBuilderHas* assertions.