added some tests for cloning with sub-components
updated shared components