Tests for RetryAttribute