Adding tests for ContainerBuilder.