test for cloning a container