Add retry tests.