simplify the deepcopy test