Add tests for clone.