Fixing copyn_test