test cases for container.