Add test to check using same iterator within a container.