Added some tests for ContainerBuilder.