Add test for copy() after slice()