Added tests for transform and clone