Fixed testing issue with cp