tests for cloning