added test cases to copy