Add test for retry parameter propagation.