Add tests for content data to check proper cloning.
Handle correctly removal of directory