added tests for the copy method.