Added test to the new "cp" method