If cp_r fails need to delete the whole destination dir before trying again

Pin test modules versions