add error retry tests