Issue #2365469: Improve code coverage for container.